Package-level declarations

Functions

Link copied to clipboard
fun <K : Any> Dropdown(placeholder: String, options: Map<K, DropdownOption>, selectedOption: K?, onOptionSelected: (K) -> Unit, modifier: Modifier = Modifier, label: String? = null, state: DropdownInteractiveState = DropdownInteractiveState.Enabled, dropdownSize: DropdownSize = DropdownSize.Large, minVisibleItems: Int = 4)
fun <K : Any> Dropdown(expanded: Boolean, placeholder: String, options: Map<K, DropdownOption>, selectedOption: K?, onOptionSelected: (K) -> Unit, onExpandedChange: (Boolean) -> Unit, onDismissRequest: () -> Unit, modifier: Modifier = Modifier, label: String? = null, state: DropdownInteractiveState = DropdownInteractiveState.Enabled, dropdownSize: DropdownSize = DropdownSize.Large, minVisibleItems: Int = 4)

Dropdowns present a list of options from which a user can select one option. A selected option can represent a value in a form, or can be used as an action to filter or sort existing content.